package com.bw.service;

import com.bw.bean.OrderA;
import com.bw.bean.OrderB;
import com.bw.bean.OrderC;
import com.bw.dao.OrderDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    OrderDao dao;
    @Override
    public List<OrderA> listA() {
        return dao.listA();
    }

    @Override
    public List<OrderB> listB() {
        return dao.listB();
    }

    @Override
    public OrderC listC() {
        return dao.listC();
    }
}
